package 反射.myinterface;

/**
 * @Projectname java_based
 * @Filename Creature
 * @Author an
 * @Data 2022/7/26 19:30
 * @Description TODO
 */
import java.io.Serializable;

public abstract class Creature <T> implements Serializable {
    private char gender;
    public double weight;

    private void breath(){
        System.out.println("太阳系");
    }

    public void eat(){
        System.out.println("银河系");
    }
}
